package com.organize.rules.impl;

import com.organize.rules.ComponentRule;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-10-15 18:45
 **/
public class AddComponentRule implements ComponentRule {

    @Override
    public String getName() {
        return "add";
    }

    @Override
    public int calc(int a, int b) {
        return a + b;
    }
}
